Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches: Use robust patches function to fix corstone300's hardfault #41

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

AhmedIsmail02
Copy link
Member

@AhmedIsmail02 AhmedIsmail02 commented Feb 5, 2024

This new way of applying patches is added to fix Corstone300 platform hardfault exception happening as the TF-M patch
(components/security/trusted_firmware-m/integration/patches /0001-corstone300-Modify-ISRAM0-to-be-non-secure-partition.patch) for this platform is sometimes not applied.

Patches are now applied using git stash and
git apply. This methodology is much better as
it reports whenever the new CMake function fails
to apply a certain patch.

Note:

This solution is based on what TF-M implemented in components/security/trusted_firmware-m/library/cmake/ remote_library.cmake

Description

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This new way of applying patches is added to fix Corstone300 platform
hardfault exception happening as the TF-M patch
(components/security/trusted_firmware-m/integration/patches
/0001-corstone300-Modify-ISRAM0-to-be-non-secure-partition.patch)
for this platform is sometimes not applied.

Patches are now applied using `git stash` and
`git apply`. This methodology is much better as
it reports whenever the new CMake function fails
to apply a certain patch.

Note:

This solution is based on what TF-M implemented in
`components/security/trusted_firmware-m/library/cmake/
remote_library.cmake`

Signed-off-by: Ahmed Ismail <[email protected]>
@AhmedIsmail02 AhmedIsmail02 requested a review from a team as a code owner February 5, 2024 11:52
@urutva urutva merged commit fa76f06 into FreeRTOS:main Feb 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants